package com.scord.eMedia.servlet;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public class HelloWorldServlet extends HttpServlet
{
	/**
	 * Serialization
	 */
	private static final long serialVersionUID = 1031422249396784970L;

	/* (non-Javadoc)
	 * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
	 */
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException 
	{
		// TODO Auto-generated method stub
//		super.doGet(req, resp);
		ServletConfig sconf = this.getServletConfig();
		ServletContext scont = this.getServletContext();
		String sinf = this.getServletInfo();
		String sname = this.getServletName();
		HttpSession session = req.getSession(true);
		RequestDispatcher rd = req.getRequestDispatcher("");
		resp.getOutputStream().println("Welcome - eMedia");
	}

}
